package com.lais.record.common.constant;

import lombok.Data;

/**
 * @Author: luowen
 * @Description:
 * @Date: Create in 22:03 2019/11/27
 */

public enum RecordEnum {

    SUCCESS("20000","成功"), //交易成功
    FAIL("50000","失败"),//交易失败

    USER_NO_LOGIN("41000","用户未登录或登录过期"),//用户不存在
    ;
    RecordEnum(String code,String message){
        this.code = code;
        this.message = message;
    }

    private String code;

    private String message;

    public String getCode(){
        return this.code;
    }
    public String getMessage(){
        return this.message;
    }
}
